package com.example.ykbboom.universitytransportation.VO;

/**
 * Created by ykbboom on 2017/2/23 14:03
 * email：ykbpro@whut.edu.cn
 */

public class UserVO extends BaseResultVO {
    private String userName;
    private String userPhone;
    private String userPass;
    private int userPoint;

    public UserVO(String userName, String userPhone, String userPass) {
        this.userName = userName;
        this.userPhone = userPhone;
        this.userPass = userPass;
    }

    public UserVO(String userName, String userPhone, String userPass, int userPoint) {
        this.userName = userName;
        this.userPhone = userPhone;
        this.userPass = userPass;
        this.userPoint = userPoint;
    }

    public UserVO(ErrorResult errorResult, int resultCode, String msg, String userName, String userPhone, String userPass, int userPoint) {
        super(errorResult, resultCode, msg);
        this.userName = userName;
        this.userPhone = userPhone;
        this.userPass = userPass;
        this.userPoint = userPoint;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getUserPass() {
        return userPass;
    }

    public void setUserPass(String userPass) {
        this.userPass = userPass;
    }

    public int getUserPoint() {
        return userPoint;
    }

    public void setUserPoint(int userPoint) {
        this.userPoint = userPoint;
    }

    @Override
    public String toString() {
        return "UserVO{" +
                "userName='" + userName + '\'' +
                ", userPhone='" + userPhone + '\'' +
                ", userPass='" + userPass + '\'' +
                ", userPoint=" + userPoint +
                '}';
    }
}
